package tech.abing.spider.monitor;

import java.util.Date;
import java.util.List;

/**
 * 监控爬虫状态的MXBean接口
 * @author Ivan qb.huang@wescxx.com   
 * @date 2016-11-9 下午07:08:16 
 * @version V2.0
 */
public interface SpiderStatusMXBean {

    public String getName();

    public String getStatus();

    public int getThread();

    public int getSuccessPageCount();

    public int getErrorPageCount();

    public List<String> getErrorPages();

    public void start();

    public void stop();

    public Date getStartTime();

    public int getPagePerSecond();
    
    public String getUsedTime();
}
